package com.example.JavaDemo.Mapper;


import com.example.JavaDemo.domain.Resident;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface ResidentMapper {
    List<Resident> selectResident(Resident resident);

    void insertResident(Resident resident);

    void updateResidentById(Resident resident);

    void delResidentById(@Param("residentId") String residentId);
}
